home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1997 August / Walnut Creek CDROM.7z / VOL_400 / 446_01 / DOC / SPLINES / EX / VERIFY / PROG3.R1 < prev    next >
Encoding:
Text File  |  1996-04-19  |  548 b   |  37 lines

  1. Calling function 'interpolation' directly:
  2. 1.2 1.44
  3. 1.3 1.69
  4. 1.4 1.96
  5. 1.5 2.25
  6. 1.6 2.56
  7. 1.7 2.89
  8. 1.8 3.24
  9. 1.9 3.61
  10. 2.0 4.00
  11. 2.1 4.41
  12.  
  13. Cubic interpolation with natural boundary condition.
  14.  
  15. Linear interpolation.
  16.  
  17. Parametric cubic interpolation.
  18. $DATA=CURVE2D
  19.  
  20. %toplabel="parametric spline"
  21. 1.2000 1.4400 
  22. 1.5123 2.2930 
  23. 1.8000 3.2400 
  24. 2.1106 4.4515 
  25. 2.4000 5.7600 
  26. 2.7079 7.3337 
  27. 3.0000 9.0000 
  28. 3.3067 10.9338 
  29. 3.6000 12.9600 
  30. 3.9057 15.2541 
  31. 4.2000 17.6400 
  32. 4.5048 20.2949 
  33. 4.8000 23.0400 
  34. $END
  35.   
  36. The tests were run on siv.si.sintef.no of type sgi
  37.